<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
 <script type="text/javascript" src="script/jquery-3.3.1.js"></script> 
<title>addFood</title>
</head>
<body>

<%	Object msg=request.getAttribute("message");

	if(msg!=null){	
%>
<font class="lead" color="red"><%=msg %></font>
<%	} %>
 <form action="addFood.do" method="post">

			
			 <div class="form-group">
				 <label  class="col-sm-2 col-form-label">菜品名称:</label>
				<input type="text" name="foodName">
				</div>
			 <div class="form-group">
				<label  class="col-sm-2 col-form-label">菜品描述:</label>
				<input type="text" name="foodDescription">
				</div>
			 <div class="form-group">	 	
				<label  class="col-sm-2 col-form-label">菜品价格:</label>
				<input type="text" name="foodPrice">
			</div>
			<input type="submit" class="btn btn-outline-danger" value="提交">
			<a class="btn btn-primary" href="javascript:history.back(-1)">返回</a>
			
		
  </form>
</body>
</html>